package models;

import java.util.*;
import javax.persistence.*;
 
import play.db.jpa.*;
 
@Entity
public class Navigation extends Model {

	public long id_regate;
	public long id_trimaran;
	public Date date_depart;
	public Date date_arrivee;
	public String statut;
	public double position_latitude;
	public double position_longitude;
	public double vitesse;
	public double direction;
	
	public Navigation(long id_regate,long id_trimaran,Date date_depart,Date date_arrivee,String statut,double position_latitude,double position_longitude,double vitesse,double direction)
	{
		this.id_regate = id_regate;
		this.id_trimaran = id_trimaran;
		this.date_depart = date_depart;
		this.date_arrivee = date_arrivee;
		this.statut = statut;
		this.position_latitude = position_latitude;
		this.position_longitude = position_longitude;
		this.vitesse = vitesse;
		this.direction = direction;
	}
	
}
